package com.xiaoxu.rental.mapper;

import com.xiaoxu.rental.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author xtq
* @description 针对表【sys_user】的数据库操作Mapper
* @createDate 2024-07-26 08:40:20
* @Entity rental.entity.User
*/
public interface UserMapper extends BaseMapper<User> {
    //通过用户id查询角色名称
    List<String> selectRoleNameByUserId(Integer id);
}




